﻿

public class GameEnterStateInit : GameEnterState
{
    public GameEnterStateInit(IGameEnterControl inControl)
        : base(inControl, GameState.LOADZIP)
    {
    }

    private bool RunWithBundle()
    {
        bool ret = true;
#if UNITY_EDITOR
        ret = EditorAssetsLoadManager.SimulatorAssetsLoad;
#endif
        return ret;
    }

    public override void Start()
    {
        if (RunWithBundle()) {
            NextGameState = GameState.LOADZIP;
        } else {
            NextGameState = GameState.START;
        }
        control.PlayNext();
    }
}
